package com.email.crontab.oracle.dao;

import com.email.crontab.framework.annotation.DataSource;
import com.email.crontab.framework.config.DataSourceType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

@DataSource(DataSourceType.ORACLE)
@Mapper
public interface OracleDao {
    List<Map<String,Object>> oracle();

    List<LinkedHashMap<String,Object>> oracleForSql(@Param("sql") String sql);

}
